<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>新增问答</title>
    <%@ include file="../../common/meta.jsp" %>
    <%@ include file="../../common/common-body.jsp" %>
    <link href="${ctx}/css/page/common-win.css?t=${now}" rel="stylesheet">
    <script src="${ctx}/js/common/myDateTimeFormat.js?t=${now}"></script>
    <link href="${ctx}/css/plugins/note/note.css?t=${now}" rel="stylesheet">
    <script src="${ctx}/js/plugins/note/note.js?t=${now}"></script>
    <script src="${ctx}/js/plugins/jquery.qrcode.min.js?t=${now}"></script>
    <style>
        #_btnDiv{
            height: 34px;
            margin-bottom: 0px;
        }
        .pull-left.pagination-detail{
            display: none;
        }
        .note{
            border: 1px solid #e5e6e7 ;
            width: 100%;
            height: 150px;
            overflow-y:auto;
        }
        .mySearchBtn{
            padding-top: 14px!important;
            padding-bottom: 14px!important;
            margin-bottom: 0px!important;
        }
        .divNote{
            height: 130px
        }
        .divNote1{
            height: 130px;
            width: 500px;
        }
        .buttonNote{
            position: absolute;
            right: 10px;
            bottom: 1px;
            margin-top: 7px;
            top: 20px;
            height: 30px;
        }
        .buttonNote1{
            position: absolute;
            right: 10px;
            bottom: 1px;
            margin-top: 40px;
            top: 20px;
            height: 30px;
        }
    </style>
    <script>
        var dto = ${dto};
        var showType = ${showType};
        var YesOrNo = ${YesOrNo};
        var deptMap = ${deptMap};
        var contentDto = ${contentDto};
    </script>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="tabs-container">
    <div class="myContent">
        <div class="tabs-container">
            <div class="tab-content">
                <div id="tab-1" class="tab-pane active">
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="ibox float-e-margins myIbox">
                                <div class="ibox-title">
                                    <h5 class="page-header page-header-new">${dto.contentTypes}</h5>
                                </div>
                                <table class="_tabTable">
                                    <tr>
                                        <td class="active" onclick="onClickTab(this)" id="_tab1">基本信息</td>
                                        <td onclick="onClickTab(this)" id="_tab2">详情信息</td>
                                    </tr>
                                </table>
                                <div id="_div1" class="ibox-content">
                                    <form class="form-horizontal m-t" id="contentForm" name="contentForm" autocomplete="off">
                                        <div class="form-group">
                                            <input type="hidden" id="hiddenId" name="id" value="${not empty dto ? dto.id : ''}"/>
                                            <input type="hidden" id="hiddenCode" name="bizCode" value="${not empty dto ? dto.bizCode : ''}"/>
                                            <input type="hidden" id="hiddenType" name="contentType" value="${not empty dto ? dto.contentType : ''}"/>
                                            <input type="hidden" id="hiddenContent" name="contentCode" value="${not empty dto ? dto.contentCode : ''}"/>
                                                <label class="col-sm-2 control-label"><span style="color: red">*</span>列表展示模式：</label>
                                            <div class="col-sm-3">
                                                <select class="form-control" name="showType" id="showType" required >
                                                    <c:forEach items="${showType}" var="item">
                                                        <option value="${item.key}"
                                                            ${not empty contentDto.showType && contentDto.showType == item.key ? 'selected' : '' }
                                                        >${item.value}</option>
                                                    </c:forEach>
                                                </select>
                                            </div>
                                            <label class="col-sm-2 control-label"><span style="color: red">*</span>服务商：</label>
                                            <div class="col-sm-3">
                                                <div class="input-group">
                                                    <input type="text" class="hideItem" id="PisvPid" name="isvPid" required
                                                           value="${not empty contentDto.isvPid ?contentDto.isvPid :""}">
                                                    <input type="text" id="pIsvName" name="isvName" class="form-control" maxlength="25"
                                                           value="${not empty contentDto.isvName ?contentDto.isvName:""}" required>
                                                    <div class="input-group-btn" style="width:0px!important;border-radius:0px!important">
                                                        <button type="button" class="btn btn-default dropdown-toggle mySearchBtn" data-toggle="dropdown">
                                                            <span class="caret"></span>
                                                        </button>
                                                        <ul class="dropdown-menu dropdown-menu-right" role="menu">
                                                        </ul>
                                                    </div>
                                                </div>
                                            </div>
                                            </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span style="color: red">*</span>是否有中间页：</label>
                                            <div class="col-sm-3">
                                                <select class="form-control" name="hasMidPage" required id="hasMidPage" onchange="doRefresh()" required>
                                                    <option value="N" ${not empty contentDto.hasMidPage && contentDto.hasMidPage == 'N' ? 'selected' : '' }>否</option>
                                                    <option value="Y" ${not empty contentDto.hasMidPage && contentDto.hasMidPage == 'Y' ? 'selected' : '' }>是</option>
                                                </select>
                                            </div>
                                            <label class="col-sm-2 control-label">是否置顶：</label>
                                            <div class="col-sm-3">
                                                <select class="form-control" name="isTop" id="isTop" onchange="changeTop(this.value)">
                                                    <option value="N" ${not empty contentDto.isTop && contentDto.isTop == 'N' ? 'selected' : '' }>否</option>
                                                    <option value="Y" ${not empty contentDto.isTop && contentDto.isTop == 'Y' ? 'selected' : '' }>是</option>
                                                </select>
                                            </div>
                                        </div>

                                        <div id="topDiv" class="form-group">
                                            <label class="col-sm-2 control-label"><span style="color: red">*</span>置顶时间：</label>
                                            <div class="col-sm-8">
                                                <input placeholder="置顶时间" value="${not empty contentDto ? contentDto.topTime : ''}" class="form-control layer-date" id="topTime" name="topTime" required="true">
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span style="color: red">*</span>标题：</label>
                                            <div class="col-sm-8">
                                                <input type="text" name="title" class="form-control" placeholder="50字以内" required maxlength="50" value="${not empty contentDto ? contentDto.title : ''}" >
                                                <span class="help-block m-b-none tip"></span>
                                            </div>
                                        </div>

                                        <h5 class="page-header page-header-new"><i class="fa fa-file-text"></i>&nbsp;&nbsp;关联信息</h5>
                                            <div class="form-group">
                                            <label class="col-sm-2 control-label"><span style="color: red">*</span>关联专家：</label>
                                            <div class="col-sm-3">
                                                <div class="input-group">
                                                    <input type="text" class="hideItem" id="pDocCode" name="docCode"
                                                           value="${not empty contentDto.docCode ?contentDto.docCode :""}">
                                                    <input type="text" placeholder="输入专家名称" id="pDocName" name="docName" class="form-control" maxlength="25"
                                                           value="${not empty contentDto.docName ?contentDto.docName:""}" required>
                                                    <div class="input-group-btn" style="width:0px!important;border-radius:0px!important">
                                                        <button type="button" class="btn btn-default dropdown-toggle mySearchBtn" data-toggle="dropdown">
                                                            <span class="caret"></span>
                                                        </button>
                                                        <ul class="dropdown-menu dropdown-menu-right" role="menu">
                                                        </ul>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label"><span style="color: red">*</span>对应一级科室：</label>
                                                <div class="col-sm-3">
                                                    <select class="form-control" name="oneLevelDeptCode" id="deptNameOne" onchange="loadTwoData(this.value)" required>
                                                        <option value="">--请选择--</option>
                                                        <c:forEach items="${deptMap}" var="item">
                                                            <option value="${item.key}"
                                                                ${not empty contentDto.oneLevelDeptCode && contentDto.oneLevelDeptCode == item.key ? 'selected' : '' }
                                                            >${item.value}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                                <label class="col-sm-2 control-label"><span style="color: red">*</span>对应二级科室：</label>
                                                <div class="col-sm-3">
                                                    <select class="form-control" name="twoLevelDeptCode" id="deptNameTwo" required>
                                                        <option value="">--请选择--</option>
                                                        <c:forEach items="${deptTwoMap}" var="item">
                                                            <option value="${item.key}"
                                                                ${not empty contentDto.twoLevelDeptCode && contentDto.twoLevelDeptCode == item.key ? 'selected' : '' }
                                                            >${item.value}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <div class="col-sm-2 control-label divNote" style="height: 100px"><span style="color: red">*</span>对应疾病：
                                                    <div>
                                                    <input type="button"  class="btn btn-primary btn-outline" onclick="selectSick()" value="添加疾病" />
                                                    </div>
                                                    <div>
                                                    <input type="button"  class="btn btn-primary btn-outline" onclick="deleAllSick()" value="移除全部" />
                                                    </div>
                                                </div>
                                                <div class="col-sm-8">
                                                    <div class="note" id="sicknessName"  name="sicknessName" readonly="true">
                                                        <c:forEach items="${contentDto.sickList}" var="item" >
                                                            <div class="note_lable"  name="sicknessName" value="${item.refCode}">
                                                                <lable>${item.sicknessName}</lable>
                                                                <div  onclick="$(this).parent().remove()">X</div>
                                                                <div  class="note_mind"></div>
                                                            </div>
                                                        </c:forEach>
                                                    </div>
                                                </div>
                                                <label id="sicknessName-error" class="note_error" style="display: none;"><i class="fa fa-times-circle"></i>  必选</label>
                                            </div>


                                       <h5 class="page-header page-header-new"><i class="fa fa-file-text"></i>&nbsp;&nbsp;付费信息</h5>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label"><span style="color: red">*</span>是否付费：</label>
                                                <div class="col-sm-3">
                                                    <select class="form-control" name="isFree" id="isFree" onchange="changeIsFree(this.value)" required>
                                                        <%--<c:forEach items="${YesOrNo}" var="item">--%>
                                                            <%--<option value="${item.key}"--%>
                                                                <%--${not empty contentDto.isFree && contentDto.isFree == item.key ? 'selected' : '' }--%>
                                                            <%-->${item.value}</option>--%>
                                                        <%--</c:forEach>--%>
                                                         <option value="Y" ${not empty contentDto.isFree && contentDto.isFree == 'Y' ? 'selected' : '' }>否</option>
                                                        <option value="N" ${not empty contentDto.isFree && contentDto.isFree == 'N' ? 'selected' : '' }>是</option>
                                                    </select>
                                                </div>
                                                <label class="col-sm-2 control-label">是否平台收费：</label>
                                                <div class="col-sm-3">
                                                    <select class="form-control" name="isPlatformCharge" id="isPlatformCharge" onchange="doRefresh()">
                                                        <c:forEach items="${YesOrNo}" var="item">
                                                            <option value="${item.key}"
                                                                ${not empty contentDto.isPlatformCharge && contentDto.isPlatformCharge == item.key ? 'selected' : '' }
                                                            >${item.value}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">原价：</label>
                                                <div class="col-sm-3">
                                                    <input type="text" placeholder="原价需大于现价" id="originPrice" name="originPrice" maxlength="8" class="form-control" onkeyup="clearNoNum(this)"  value="${not empty contentDto ? contentDto.originPrice : ''}">
                                                    <span class="help-block m-b-none tip"></span>
                                                </div>
                                                <label class="col-sm-2 control-label"><span style="color: red">*</span>现价：</label>
                                                <div class="col-sm-3">
                                                    <input type="text" id="price" name="price" class="form-control" maxlength="8" onchange="checkPrice(this.value)" onkeyup="clearNoNum(this)"  value="${not empty contentDto ? contentDto.price : ''}" >
                                                    <span class="help-block m-b-none tip"></span>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">补充说明：</label>
                                                <div class="col-sm-3">
                                                    <input type="text" id="additionalRemarks"  name="additionalRemarks" class="form-control" placeholder="四个字以内" maxlength="4" value="${not empty contentDto ? contentDto.additionalRemarks : ''}">
                                                    <span class="help-block m-b-none tip"></span>
                                                </div>
                                                <label class="col-sm-2 control-label">是否有免费时段：</label>
                                                <div class="col-sm-3">
                                                    <select class="form-control" name="isHaveFreeTime" id="isHaveFreeTime" onchange="changeFreeTime(this.value)">
                                                        <option value="N" ${not empty contentDto.isHaveFreeTime && contentDto.isHaveFreeTime == 'N' ? 'selected' : '' }>否</option>
                                                        <option value="Y" ${not empty contentDto.isHaveFreeTime && contentDto.isHaveFreeTime == 'Y' ? 'selected' : '' }>是</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div id="freeTimeDiv" class="form-group">
                                                <label class="col-sm-2 control-label"><span style="color: red">*</span>免费时段：</label>
                                                <div class="col-sm-8">
                                                    <input placeholder="免费时段" class="form-control layer-date" id="freeTime" name="freeTime" value="${not empty contentDto ? contentDto.freeTime : ''}" required="false">
                                                </div>
                                            </div>
                                        <c:if test="${userType == 'super' || userType == 'sysadmin'}">
                                                <h5 class="page-header page-header-new"><i class="fa fa-file-text"></i>&nbsp;&nbsp;人气信息</h5>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">初始阅读数：</label>
                                                    <div class="col-sm-3">
                                                        <input type="text" id="originReadedTotal" placeholder="控制四位数以内" name="originReadedTotal" class="form-control"  maxlength="4" oninput = "value=value.replace(/[^\d]/g,'')" value="${not empty contentDto && contentDto.originReadedTotal == 0 ? '' : contentDto.originReadedTotal}">
                                                        <span class="help-block m-b-none tip"></span>
                                                    </div>
                                                    <label class="col-sm-2 control-label">初始点赞数：</label>
                                                    <div class="col-sm-3">
                                                        <input type="text" id="originLikedTotal" name="originLikedTotal" class="form-control" placeholder="控制四位数以内"  maxlength="4" oninput = "value=value.replace(/[^\d]/g,'')" value="${not empty contentDto && contentDto.originLikedTotal == 0 ?'' : contentDto.originLikedTotal}">
                                                        <span class="help-block m-b-none tip"></span>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">初始参与数：</label>
                                                    <div class="col-sm-3">
                                                        <input type="text" id="originBuyTotal" name="originBuyTotal" class="form-control" placeholder="控制四位数以内"  maxlength="4" oninput = "value=value.replace(/[^\d]/g,'')" value="${not empty contentDto && contentDto.originBuyTotal == 0 ? '' : contentDto.originBuyTotal }">
                                                        <span class="help-block m-b-none tip"></span>
                                                    </div>
                                                </div>
                                            </c:if>
                                    </form>
                                    <div class="ibox float-e-margins">
                                        <div class="ibox-content">
                                            <div class="form-group" id="_btnDiv1">
                                                <div class="col-sm-4 col-sm-offset-5">
                                                    <input type="button" class="btn btn-primary" onclick="doCheckImage()" value="保存">
                                                    <input type="button" class="btn btn-white" onclick="doCheckDataChange()" value="返回">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="ibox-content" id="_div2" style="display: none;">
                                    <form class="form-horizontal m-t" name="contentForm" autocomplete="off">
                                    <div class="tabs-container">
                                        <div class="tab-content">
                                            <div id="tab-2" class="tab-pane active">
                                                <div class="row">
                                                    <div class="col-sm-12">
                                                        <div class="ibox float-e-margins myIbox">
                                                            <div class="ibox-content">
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label">详情：</label>
                                                                    <div class="col-sm-7" >
                                                                        <input type="text" id="detailLinkUrl" name="detailLinkUrl" class="form-control" placeholder="优先url" maxlength="1024" value="${not empty contentDto ? contentDto.detailLinkUrl : ''}" required>
                                                                        <span class="help-block m-b-none tip"></span>
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label "></label>
                                                                    <label class="col-sm-2 control-label control-label-content">问答生成时间：</label>
                                                                    <div class="col-sm-5">
                                                                        <input type="hidden" id="level1" name="level1" value="1">
                                                                        <input  type="text" value="${not empty contentDto ? contentDto.basicContentDialogDto.firQuestion : ''}" class="form-control layer-date" id="dialogTime1"  name="dialogTime1">
                                                                    </div>
                                                               </div>
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label"><span style="color: red">*</span>第一次提问：</label>
                                                                    <div class="col-sm-7">
                                                                        <textarea type="text" id="dialogContent1" name="dialogContent1" placeholder="500字以内" maxlength="500" class="form-control"  value="" >${not empty contentDto ? contentDto.basicContentDialogDto.firQuestionDialog : ''}</textarea>
                                                                    </div>
                                                                </div>

                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label "></label>
                                                                    <label class="col-sm-2 control-label control-label-content">医生第一次回复时间：</label>
                                                                    <div class="col-sm-5">
                                                                        <input type="hidden" id="level2" name="level2" value="2">
                                                                        <input  type="text" value="${not empty contentDto ? contentDto.basicContentDialogDto.firReply : ''}" class="form-control layer-date" id="dialogTime2" name="dialogTime2" >
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label"><span style="color: red">*</span>医生第一次回复：</label>
                                                                    <div class="col-sm-7">
                                                                        <textarea type="text" id="dialogContent2" name="dialogContent2" placeholder="500字以内" maxlength="500" class="form-control"  value="" >${not empty contentDto ? contentDto.basicContentDialogDto.firReplyDialog : ''}</textarea>
                                                                    </div>
                                                                </div>

                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label "></label>
                                                                    <label class="col-sm-2 control-label control-label-content">第一次追问时间：</label>
                                                                    <div class="col-sm-5">
                                                                        <input type="hidden" id="level3" name="level3" value="3">
                                                                        <input  type="text" value="${not empty contentDto ? contentDto.basicContentDialogDto.secQuestion : ''}" class="form-control layer-date" id="dialogTime3" name="dialogTime3" required="true">
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label">第一次追问：</label>
                                                                    <div class="col-sm-7">
                                                                        <textarea type="text" id="dialogContent3" name="dialogContent3" placeholder="500字以内" class="form-control"  value="" >${not empty contentDto ? contentDto.basicContentDialogDto.secQuestionDialog : ''}</textarea>
                                                                    </div>
                                                                </div>

                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label "></label>
                                                                    <label class="col-sm-2 control-label control-label-content">医生第二次回复时间：</label>
                                                                    <div class="col-sm-5">
                                                                        <input type="hidden" id="level4" name="level4" value="4">
                                                                        <input  type="text" value="${not empty contentDto ? contentDto.basicContentDialogDto.secReply : ''}" class="form-control layer-date" id="dialogTime4" name="dialogTime4"  required="true">
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label">医生第二次回复：</label>
                                                                    <div class="col-sm-7">
                                                                        <textarea type="text" id="dialogContent4" name="dialogContent4" placeholder="500字以内" maxlength="500" class="form-control"  value="" >${not empty contentDto ? contentDto.basicContentDialogDto.secReplyDialog : ''}</textarea>
                                                                    </div>
                                                                </div>

                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label "></label>
                                                                    <label class="col-sm-2 control-label control-label-content">第二次追问时间：</label>
                                                                    <div class="col-sm-5">
                                                                        <input type="hidden" id="level5" name="level5" value="5">
                                                                        <input  type="text" value="${not empty contentDto ? contentDto.basicContentDialogDto.thrQuestion : ''}" class="form-control layer-date" id="dialogTime5" name="dialogTime5"  required="true">
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label">第二次追问：</label>
                                                                    <div class="col-sm-7">
                                                                        <textarea type="text" id="dialogContent5" name="dialogContent5" placeholder="500字以内" maxlength="500" class="form-control"  value="" >${not empty contentDto ? contentDto.basicContentDialogDto.thrQuestionDialog : ''}</textarea>
                                                                    </div>
                                                                </div>

                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label "></label>
                                                                    <label class="col-sm-2 control-label control-label-content">医生第三次回复时间：</label>
                                                                    <div class="col-sm-5">
                                                                        <input type="hidden" id="level6" name="level6" value="6">
                                                                        <input  type="text" value="${not empty contentDto ? contentDto.basicContentDialogDto.thrReply : ''}" class="form-control layer-date" id="dialogTime6" name="dialogTime6"  required="true">
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="col-sm-2 control-label">医生第三次回复：</label>
                                                                    <div class="col-sm-7">
                                                                        <textarea type="text" id="dialogContent6" name="dialogContent6" placeholder="500字以内" maxlength="500" class="form-control"  value="" >${not empty contentDto ? contentDto.basicContentDialogDto.thrReplyDialog : ''}</textarea>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                  </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctx}/js/plugins/validate/jquery.validate.custom.js?t=20181024"></script>
<script src="${ctx}/js/health/win/editHealthContentDialog.js?t=${now}"></script>

<div id="selectSick" class="modal" tabindex="-1" role="dialog" data-backdrop="static" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 id="_modelTitle">选择疾病</h4>
            </div>
            <div class="modal-body modal-body-height">
                <div style="border: 1px solid #e4eaec;-webkit-box-shadow:0px 3px 3px #c8c8c8 ;
-moz-box-shadow:0px 3px 3px #c8c8c8 ;
box-shadow:0px 3px 3px #c8c8c8 ;margin-bottom: 20px">
                    <div class="row" style="margin: 10px!important;">
                        <form class="form-horizontal m-t" action="" id="searchForm">
                            <div class="form-group">
                            <label class="col-sm-2 control-label">一级科室：</label>
                            <div class="col-sm-4">
                                <select class="form-control" name="deptNameOne" id="deptFirName" onchange="addLoadTwoData(this.value)">
                                    <option value="">--请选择--</option>
                                    <c:forEach items="${deptMap}" var="item">
                                        <option value="${item.key}">${item.value}</option>
                                    </c:forEach>
                                </select>
                            </div>
                            <label class="col-sm-2 control-label">二级科室：</label>
                            <div class="col-sm-4">
                                <select class="form-control" name="deptNameTwo" id="deptSecName" onchange="doSickRefresh()">
                                    <option value="">--请选择--</option>
                                </select>
                            </div>
                            </div>
                            <div class="form-group">
                            <label class="col-sm-3 text-right control-label">查询疾病：</label>
                            <div class="col-sm-5"><input type="text" class="form-control"
                                onkeydown="if(event.keyCode==13){doSickRefresh();return false;}"
                               id="sick"  name="sicknessName"></div><div class="col-sm-2 text-center">
                            <bttton type="button" class="btn btn-white" onclick="doSickRefresh()">查询</bttton>
                            </div>
                            </div>
                        </form>
                    </div>
                </div>
                <div style="border: 1px solid #e4eaec;-webkit-box-shadow:0px 3px 3px #c8c8c8 ;
-moz-box-shadow:0px 3px 3px #c8c8c8 ;
box-shadow:0px 3px 3px #c8c8c8 ;">
                    <table data-toggle="table"   id="dataTable"
                           data-pagination="true"
                           data-side-pagination="server" data-striped="true"
                           data-url="${ctx}/health/getGridDataForCheckbox?t=${now}"
                           data-response-handler="handleServerResult" data-query-params-type=""
                           data-query-params="getParams"
                           data-cache="true" data-page-size="${defaultPageSize}"
                           data-page-list="${pageList}">
                        <thead>
                        <tr>
                            <th data-field="checkBx" data-checkbox="true" data-width="30px" ></th>
                            <th data-field="sicknessName"data-align="center"><span style="font-weight:bold">疾病</span></th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
            <div class="modal-footer text-center" style="text-align: center;">
                <button class="btn btn-primary" onclick="clickSick()">确定</button>
                <button class="btn btn-white"  onclick="cancelSick()">返回</button>
            </div>
        </div>
    </div>
</div>

</body>
</html>
